import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
// import Guide from '@/components/register_guide'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      //报考指南
	    path: '/register_guide',
      name: 'guide',
      component: resolve => require(['@/components/register_guide'],resolve) 
    },
    {
      path: "/school_admission_brochure", 
      name:'brochure',
      component: resolve => require(['@/components/school_admission_brochure'],resolve)
    },
    {
      path: "/enrollment_plan", 
      name:'enrollment',
      component: resolve => require(['@/components/enrollment_plan'],resolve)
    },
    {
      path: "/admission_policy", 
      name:'policy',
      component: resolve => require(['@/components/admission_policy'],resolve)
    },
    {
      path:"/teacher",
      name:'teacher',
      component: resolve => require(['@/components/teacher'],resolve)
    },
     {
      path:"/campus_tour",
      name:'campus',
      component: resolve => require(['@/components/campus_tour'],resolve)
    },
    {
      path:"/sco_dyn",
      name:'sco_dyn',
      component: resolve => require(['@/components/sco_dyn'],resolve)
    },
    {
      path:"/sco_info",
      name:'sco_info',
      component: resolve => require(['@/components/sco_info'],resolve)
    },
    {
      path:"/special_major_accouting",
      name:'special_major_accouting',
      component: resolve => require(['@/components/special_major_accouting'],resolve)
    },
    {
      path:"/special_major_soft",
      name:'special_major_soft',
      component: resolve => require(['@/components/special_major_soft'],resolve)
    },
    {
      path:"/special_major_net",
      name:'special_major_net',
      component: resolve => require(['@/components/special_major_net'],resolve)
    },
    {
      path:"/special_major_insidedesign",
      name:'special_major_insidedesign',
      component: resolve => require(['@/components/special_major_insidedesign'],resolve)
    },
    {
      path:"/special_major_artdesign",
      name:'special_major_artdesign',
      component: resolve => require(['@/components/special_major_artdesign'],resolve)
    },
    {
      path:"/employment_newsletter",
      name:'employment_newsletter',
      component: resolve => require(['@/components/employment_newsletter'],resolve)
    },
    {
      path:"/related_downloads",
      name:'related_downloads',
      component: resolve => require(['@/components/related_downloads'],resolve)
    },
    {
      path:"/co_enterprise",
      name:'co_enterprise',
      component: resolve => require(['@/components/co_enterprise'],resolve)
    },
    {
      path:"/co_construction",
      name:'co_construction',
      component: resolve => require(['@/components/co_construction'],resolve)
    },
    {
      path:"/admission_query",
      name:'admission_query',
      component: resolve => require(['@/components/admission_query'],resolve)
    },
    {
      path:"/question_answer",
      name:'question_answer',
      component: resolve => require(['@/components/question_answer'],resolve)
    },
    {
      path:"/admission_information",
      name:'admission_information',
      component: resolve => require(['@/components/admission_information'],resolve)
    },
    {
      path:"/sign_online",
      name:'sign_online',
      component: resolve => require(['@/components/sign_online'],resolve)
    },
    {
      path:"/contact",
      name:'contact',
      component: resolve => require(['@/components/contact'],resolve)
    },
    {
      //sco_dyn
      path:"/news_page1",
      name:'news_page1',
      component: resolve => require(['@/components/news_page1'],resolve)
    },
    {
      //co
      path:"/news_page2",
      name:'news_page2',
      component: resolve => require(['@/components/news_page2'],resolve)
    },
    {
      //招生快讯
      path:"/news_page3",
      name:'news_page3',
      component: resolve => require(['@/components/news_page3'],resolve)
    },
    {
      //招生简章
      path:"/news_page4",
      name:'news_page4',
      component: resolve => require(['@/components/news_page4'],resolve)
    },
    {
      //招生计划
      path:"/news_page5",
      name:'news_page5',
      component: resolve => require(['@/components/news_page5'],resolve)
    },
    {
      //招生政策
      path:"/news_page6",
      name:'news_page6',
      component: resolve => require(['@/components/news_page6'],resolve)
    },
    {
      //入学须知
      path:"/news_page7",
      name:'news_page7',
      component: resolve => require(['@/components/news_page7'],resolve)
    },
    {
      //就业时讯
      path:"/news_page8",
      name:'news_page8',
      component: resolve => require(['@/components/news_page8'],resolve)
    },
    {
      //相关下载
      path:"/news_page9",
      name:'news_page9',
      component: resolve => require(['@/components/news_page9'],resolve)
    },
  ]
})
